package cn.darkhorse.alarm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 设备参数对应表
 * </p>
 *
 * @author maoguanjun
 * @since 2023-04-07
 */
@Getter
@Setter
  @TableName("mes_parameter_mapping")
@ApiModel(value = "MesParameterMapping对象", description = "设备参数对应表")
public class MesParameterMapping implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("信控设备id")
      private String dataDeviceId;

      @ApiModelProperty("参数类型：0/开关量 1/变量")
      private Integer parameterType;

      @ApiModelProperty("对应信控pointId")
      private String pointId;

      @ApiModelProperty("对应信控pointName")
      private String pointName;

      @ApiModelProperty("是否被使用过")
      private Boolean beUsed;

}
